package service.impl;

import dao.BookTypeDao;
import pojo.BookType;
import service.BookTypeService;

import java.util.ArrayList;

public class BookTypeServiceImpl implements BookTypeService{

    BookTypeDao bookTypeDao;

    public BookTypeDao getBookTypeDao() {
        return bookTypeDao;
    }

    public void setBookTypeDao(BookTypeDao bookTypeDao) {
        this.bookTypeDao = bookTypeDao;
    }

    @Override
    public ArrayList<BookType> getBookTypeList() {
        return bookTypeDao.getBookTypeList();
    }
}
